#ifndef TRACKWELDENDINSTRUCTIONLOGIC_H
#define TRACKWELDENDINSTRUCTIONLOGIC_H
#include "ioinstruction.h"
#include "programset.h"
#include "instructionEnum.h"
#include "robotio.h"
#include "GeneralDefine.h"

class ProgramEngine;

class TrackWeldEndInstructionLogic
{
public:
    TrackWeldEndInstructionLogic(QString configFilePathIn,int robotIdIn,ProgramSet* programSetIn,RobotIo* ioControllerIn,
                                 ProgramEngine* programEngineIn);
public:
    E_PROGRAM_LOOP_RESULT startTrackWeldEnd(int programNum,TrackWeldEndInstruction trackWeldEndInstruct);
private:
    int robotId;
    ProgramSet* programSet;
    RobotIo* ioController;
    ProgramEngine* programEngine;
    QString configFilePath;
};

#endif // TRACKWELDENDINSTRUCTIONLOGIC_H
